function ospanclick(){
    var ospan = document.getElementById('ospan')
    var oinp = document.getElementById('oinp')
    var i=true
    ospan.onclick=function(){
        if(i){
            oinp.style.backgroundColor="#DADADA";
            ospan.style.border="solid .0625rem #7a7878";
            ospan.style.background="url(../images/login_xy1.png)no-repeat"
            ospan.style.backgroundPosition="50% 50%";
            ospan.style.backgroundSize="1.25rem 1.1875rem"
              i=false
        }else{
            oinp.style.backgroundColor="#FF9326";
            ospan.style.border="solid .0625rem #fff";
            ospan.style.background=""
            i=true
        }
           console.log(i);
    }

}
ospanclick()